import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/education_quiz_history_entity.g.dart';


@JsonSerializable()
class EducationQuizHistoryEntity {

	EducationQuizHistoryEntity();

	factory EducationQuizHistoryEntity.fromJson(Map<String, dynamic> json) => $EducationQuizHistoryEntityFromJson(json);
	int? answerCount;
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? id;
	List<EducationQuizHistoryMainVOS>? mainVOS;
	int? makeUpExamination;
	String? planId;
	int? questionCount;
	List<EducationQuizHistoryQuestionList>? questionList;
	String? questionValue;
	int? score;
	String? textbookId;
	String? timeCount;
	int? totalScore;
	int? unansweredCount;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? userDepartmentId;
	String? userDepartmentName;
	String? userId;
	String? userName;
	int? wrongCount;

	Map<String, dynamic> toJson() => $EducationQuizHistoryEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class EducationQuizHistoryMainVOS {

	EducationQuizHistoryMainVOS();

	factory EducationQuizHistoryMainVOS.fromJson(Map<String, dynamic> json) => $EducationQuizHistoryMainVOSFromJson(json);
	String? duration;
	List<EducationQuizHistoryMainVOSQuestionAllList>? questionAllList;
	int? questionCount;
	List<EducationQuizHistoryMainVOSQuestionList>? questionList;
	List<EducationQuizHistoryMainVOSQuestionListOne>? questionListOne;
	int? questionScore;
	String? questionTypeDicId;
	String? timeCount;

	Map<String, dynamic> toJson() => $EducationQuizHistoryMainVOSToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class EducationQuizHistoryMainVOSQuestionAllList {

	EducationQuizHistoryMainVOSQuestionAllList();

	factory EducationQuizHistoryMainVOSQuestionAllList.fromJson(Map<String, dynamic> json) => $EducationQuizHistoryMainVOSQuestionAllListFromJson(json);
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	int? duration;
	String? id;
	String? myValidity;
	String? optionA;
	String? optionB;
	String? optionC;
	String? optionD;
	String? parsing;
	String? questionMain;
	String? questionTypeDicId;
	String? questionValidity;
	int? score;
	String? textbookId;
	String? timeCount;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $EducationQuizHistoryMainVOSQuestionAllListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class EducationQuizHistoryMainVOSQuestionList {

	EducationQuizHistoryMainVOSQuestionList();

	factory EducationQuizHistoryMainVOSQuestionList.fromJson(Map<String, dynamic> json) => $EducationQuizHistoryMainVOSQuestionListFromJson(json);
	String? id;
	String? optionA;
	String? optionB;
	String? optionC;
	String? optionD;
	String? questionMain;
	String? questionTypeDicId;
	int? score;

	Map<String, dynamic> toJson() => $EducationQuizHistoryMainVOSQuestionListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class EducationQuizHistoryMainVOSQuestionListOne {

	EducationQuizHistoryMainVOSQuestionListOne();

	factory EducationQuizHistoryMainVOSQuestionListOne.fromJson(Map<String, dynamic> json) => $EducationQuizHistoryMainVOSQuestionListOneFromJson(json);
	String? addDate;
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? id;
	String? optionA;
	String? optionB;
	String? optionC;
	String? optionD;
	String? parsing;
	String? questionMain;
	String? questionTypeDicId;
	String? questionValidity;
	int? score;
	String? textbookId;
	int? type;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? userId;

	Map<String, dynamic> toJson() => $EducationQuizHistoryMainVOSQuestionListOneToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class EducationQuizHistoryQuestionList {

	EducationQuizHistoryQuestionList();

	factory EducationQuizHistoryQuestionList.fromJson(Map<String, dynamic> json) => $EducationQuizHistoryQuestionListFromJson(json);
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	int? duration;
	String? id;
	String? myValidity;
	String? optionA;
	String? optionB;
	String? optionC;
	String? optionD;
	String? parsing;
	String? questionMain;
	String? questionTypeDicId;
	String? questionValidity;
	int? score;
	String? textbookId;
	String? timeCount;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $EducationQuizHistoryQuestionListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
